﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Backend.Data.Entities;
using Registro.Compras.Data.Entities;
using System.ComponentModel.DataAnnotations;

namespace Registro.Compras.Api.Models
{
    public class Base1Model
    {
        [Key]
        public virtual int Id { get; set; }
        public virtual DateTime FechaEmision { get; set; }
        public virtual DateTime? FechaVencimiento { get; set; }
        public virtual int Tabla10Id { get; set; }
        public virtual String Serie { get; set; }
        public virtual Int64 AnoEmisionDua { get; set; }
        public virtual Int64 N_Comprobante { get; set; }
        public virtual int ProveedorId { get; set; }
        public virtual int BaseImponibleId { get; set; }
        public virtual String DescripcionM { get; set; }
        public virtual String Operacion1 { get; set; }
        public virtual int Codigo1 { get; set; }
        public virtual float Debe1 { get; set; }
        public virtual float Haber1 { get; set; }
        public virtual int Codigo2 { get; set; }
        public virtual float Debe2 { get; set; }
        public virtual float Haber2 { get; set; }
        public virtual int Codigo3 { get; set; }
        public virtual float Debe3 { get; set; }
        public virtual float Haber3 { get; set; }
        public virtual String Operacion2 { get; set; }
        public virtual int Codigo4 { get; set; }
        public virtual float Debe4 { get; set; }
        public virtual float Haber4 { get; set; }
        public virtual int Codigo5 { get; set; }
        public virtual float Debe5 { get; set; }
        public virtual float Haber5 { get; set; }
        public virtual String Operacion3 { get; set; }
        public virtual int Codigo6 { get; set; }
        public virtual float Debe6 { get; set; }
        public virtual float Haber6 { get; set; }
        public virtual int Codigo7 { get; set; }
        public virtual float Debe7 { get; set; }
        public virtual float Haber7 { get; set; }
        public virtual float AdquisicionesNoGravadas { get; set; }
        public virtual float ISC { get; set; }
        public virtual float OtrosTributos { get; set; }
        public virtual float ImporteTotal { get; set; }
        public virtual float PagoNoDomiciliado { get; set; }
        public virtual Int64 CDD_Numero { get; set; }
        public virtual DateTime CDD_FechaEmision { get; set; }
        public virtual float TipodeCambio { get; set; }
        public virtual int EncabezadoId { get; set; }

        public virtual Tabla10Model Tabla10Model { get; set; }
        public virtual ProveedorModel ProveedorModel { get; set; }
        public virtual EncabezadoModel EncabezadoModel { get; set; }
        public virtual BaseImponibleModel BaseImponibleModel { get; set; }
    }
}
